@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./btn.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
//   font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
//     Microsoft YaHei, Arial, sans-serif;
  font-family: "Avenir", Helvetica, Arial, sans-serif;
}

// label {
//   font-weight: 700;
// }

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
  min-width: 1000px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 15px;
  background: #fff;
  box-shadow: 0 0 3px #ccc;
  height: 100%;
  overflow: auto;
  position: relative;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(
    90deg,
    rgba(32, 182, 249, 1) 0%,
    rgba(32, 182, 249, 1) 0%,
    rgba(33, 120, 241, 1) 100%,
    rgba(33, 120, 241, 1) 100%
  );

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
//   height: 100%;
  .filter-item,
  .filter-btn-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
    margin-left: 10px;
    height: 26px;
    line-height: 26px;
    padding: 0 10px;
    border-radius: 15px;
  }
  &.search_Top {
    border: 1px solid #e6e6e6;
    padding: 15px 5px 5px 15px;
    display: flex;
    flex-direction: row;align-items: flex-start;
    margin-bottom: 0px;
    position: relative;
    .search_input_list {
      width: 100%;overflow: hidden;
      .filter-item {
        margin: 0 20px 10px 0;
        padding: 0;
        float: left;
        .el-input__inner {
            width: 140px;
        }
        .date_splite {
            width: 11px;
            height: 1px;
            background: #9b9b9b;
            display: inline-block;
        }
      }
      
    }
    .inputmore {
        position: absolute;
        width: 150px;
        height: 22px;
        line-height: 22px;
        text-align: center;
        background: #f2f2f2;
        bottom: -22px;
        left: calc(50% - 75px);
        color: #9b9b9b;
        cursor: pointer;
        font-size: 12px;
        z-index: 11;
        .triangle-bottomleft {
            position: absolute;
            top: 0;
            width: 0;
            height: 0;
            border-bottom: 22px solid #ffffff;
            border-right: 22px solid transparent;
        }
        .triangle-bottomright {
            position: absolute;
            right: 0;
            top: 0;
            width: 0;
            height: 0;
            border-bottom: 22px solid #ffffff;
            border-left: 22px solid transparent;
        }
    }
    .search_bt_list {
        margin: 0;
        display: flex;
        span {
            background: #34BFC6;
            border: 1px solid #34BFC6;
            color: #ffffff;
            border-radius: 4px;
            text-align: center;
            display: inline-block;
            height: 26px;
            line-height: 26px;
            width: 45px;
            cursor: pointer;
            &:hover {
                transition: all .3s;
                opacity: .8;
            }
            &.gosearch {
                margin-right: 10px;
            }
        }
        .clears {
            background: #fff;
            border: 1px solid #ccc;
            color: #aaaaaa;
        }
    }
  }
}
.table_base_bt {
  padding: 10px 15px;
  display: flex;
  flex-direction: row;
  .filter-btn-item {
    height: 26px;
    cursor: pointer;
    border-radius: 14px;
    padding: 0 15px;
    margin: 0 10px 0 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 0;
    &.same-contrast {
        background: #E6A23C;
    }
    &.download {
        background: #67C23A;
    }
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}
.i_colon {
    font-style: normal;
    font-family: sans-serif;
    line-height: 22px;
}
.span_colon {
    color: #878989 !important;
    margin: 0 !important;
    width: 50px;
}
.dialog_FormTxt {
   .el-form-item__content {
    margin-left: 0 !important;
  } 
}
.ql-editor {
    min-height: 100px;
}

.mce-branding.mce-widget.mce-label.mce-flow-layout-item.mce-last{
    display: none;
}
.mce-container-body.ce-stack-layout{
    overflow: auto;
}
.mce-edit-area {
    iframe {
//      height: auto !important;
    }
}
